<?php

namespace app\common\business;

Class SystemConfig{

    /**
     * @param $fieldName
     * @return array
     */
    public function getSystemConfig($fieldName){
        $industry = \app\common\lib\SystemConfig::getConfig($fieldName);

        $result = [];
        foreach ($industry as $k=>$v){
            $result[$k]['id'] = $k;
            $result[$k]['name'] = $v;
        }
        return array_values($result);
    }
}